Place the cursor at the desired position of the link.
From the link pane, select the Anchors section
and select the desired anchor.
Linking across notes
Trilium v0.103.0 introduces cross-note Anchors, which makes it possible
to create Internal (reference) links which
point to a specific anchor in that document.
Compatibility with documents from previous versions
For notes created prior to Trilium v0.103.0, you might notice that the
Anchors might not be identified. This limitation is intentional in order
not to have to re-process all the notes, looking for anchors.
To fix this, simply go that note and make any change (e.g. inserting a
space), this will trigger the recalculation of the links.
Linking to anchors through the Add link dialog
Create an anchor in the target note using the same process as described
above.
In another note, press Ctrl+L to insert an internal
link. Select the target note containing Anchors.
If the target note contains Anchors, a section will appear underneath
the note selector with the list of Anchors.
Add the link normally.
Clicking on a reference link pointing to a anchor will automatically scroll
to the desired section.
Linking to anchors through the bookmark toolbar
Create an anchor in the target note using the same process as described
above.
Click on the anchor to reveal the anchor's floating toolbar.
Click on the Copy anchor reference link button.
Go to the note where to insert the link and press Ctrl+V.